The online racing simulator
Searching in All forums
(951 results)
Yisc[NL]
S3 licensed
Lapper has this Lapper Event you can use for that:

OnPlayerFlags($userName,$YellowFlag,$BlueFlag,$LagFlag,$Time);

Put that in an event and do some logging about how many blueflags a player can have, before getting a penalty.
Yisc[NL]
S3 licensed
I can help you with that.
Let me know what you need.
Share as much information as possible, so I can get a clear picture what will be needed.
Yisc[NL]
S3 licensed
It's possible to do that using the http function of Lapper.
I have this in one of my scripts:


http("http://[REMOVED URL]/test_pwd_lfs.php?servername=".$server_name_schedule."&date=".$date_storage."&password=".$pwd_storage);

This will send data from Lapper to the mentioned PHP file on a webserver.
Retrieving the data by the PHP-file looks like this:


<?php 
### Get data send through LFS Lapper ###
$servername$_GET['servername'];
$race_date$_GET['date'];
$password$_GET['password'];
### End ###
?>

Then you can do what ever you want with it.

In return you can make PHP do something in Lapper as well, see this example:


<?php 
echo "cmdLFS(\"/msg ^1WARNING: ^7You are using a proxy!\");";
?>

This will send a message within Lapper, but you can also make buttons popup or be closed or what ever you like.
The possibilities are nearly endless.
Yisc[NL]
S3 licensed
There is no studio working on LFS. It's a project of Scawen (as coder)and Eric (graphics designer) and that's it. They don't use any known software to build this game, as Scawen has build all on its own. Money isn't what drives them, perfection is and they do a fine job with that. LFS has come a long way since I first discovered it and I am sure it will go a long way as well. All that's going on behind the scenes now, will be huge step forward while quality is still remained. Either people like this slow progress and value the game for what it is already (a masterpiece) or they don't like it and move along.
Yisc[NL]
S3 licensed
Yes, but mine is the 2012 runtime libraries.
Don't know if that makes any difference.
Otherwise some other user has to offer you advice, sorry.
Yisc[NL]
S3 licensed
Nope, private mail came empty as well, but on my VPS I found this: MICROSOFT VISUAL C++ 2012 RUNTIME LIBRARIES

I think you need to install that, probably have a reboot and then should be good to go.
Yisc[NL]
S3 licensed
Aha, I had that issue too a long time ago on my VPS.
I needed to install something from Microsoft.
Quickly searched through my Hotmail, but the answer wasn't in there.
Need to search my private email (or check my VPS) when I am home again.
To be continued.
Yisc[NL]
S3 licensed
The error is exactly what it says Smile
This file "System.Data.SQLite.dll" cannot be found.
Yisc[NL]
S3 licensed
It looks like Lapper is using another password.
Maybe another file is used, instead of default_1 ?
Yisc[NL]
S3 licensed
Scawen has already said that he worked on the AI during the tyre physics update (which still isn't finished) and that the improved AI will appear in the game once tyre and graphical update will be ready for testing.
Yisc[NL]
S3 licensed
As far as I know, Lapper doesn't show split times in the topbar by default.
You might want to check the file named "addonsused.lpr" as that's the one the enables\disables modules that are loaded when Lapper is started (or restarted using command: !reload).
Yisc[NL]
S3 licensed
I have loaded your script and found several errors:

This: privmsg($userName,"you successfully entered the Track with Pinto powered XRT!);

Should be: privmsg($userName,"you successfully entered the Track with Pinto powered XRT!");

This: privmsg($userName,"you successfully entered the Track with Zetec powered XRT!);

Should be: privmsg($userName,"you successfully entered the Track with Zetec powered XRT!");

This: Sub tws_Zetec( $KeyFlags )
Should be: Sub tws_Zetec( $KeyFlags , $id )

This: Sub tws_Pinto( $KeyFlags )
Should be: Sub tws_Pinto( $KeyFlags , $id )

All these errors were visable in the log file:

3/23/2020 8:17:11 PM -> Error: Unclosed string on file: ".\AB-configs\.\..\includes\.\test\test_restrict.lpr" at line #41
3/23/2020 8:28:48 PM -> Syntax error: Incorrect number of arguments at line #76 in function 'tws_pinto' script aborted

You might have looked at the wrong lof file, as Lapper has two of them.
This file* is the correct file to check: 127.0.0.1-29994-ERR.log

*29994 = the port number your Lapper is running on, so that might differ on your end

Of course it's always a good thing to learn the coding skills your self and you are well on your way, but if you want some inspiration or to have a fully developed handicap (or restrictions as you call it) system, have a look at the script I made in the past: https://www.lfs.net/forum/post/1954184#post1954184
Yisc[NL]
S3 licensed
This update has been out for years, but never made it to this forum.
Better late than never they say, so here it is.

Handicap system V2.00.2 BETA

-Removed -WHILE-loop in sub 'handicap_gui_force' and replaced it with a FOREACH-loop

Change the extension of the file to .lpr and add it to addonsused.lpr to be able to use it.
Yisc[NL]
S3 licensed
Add a debugging message in both Subs and see if the tekst appears when the button is clicked.
If so, there's a problem within the Sub(s) and if not, there is a problem with the button.
Yisc[NL]
S3 licensed
Have you checked the logfiles and if so, any errors in there?
Yisc[NL]
S3 licensed
I have created a basic script that displays a rotating text.

Change the extension of the file to .lpr and add it to addonsused.lpr to be able to use it.







Yisc[NL]
S3 licensed
Quote from mehem007 :I can't log in to my own account in the game and this problem pisses me off, does anyone know the cause of this error?

Use this form to ask for a password reset: https://www.lfs.net/contact
Yisc[NL]
S3 licensed
Accidently switched on a filter?
Why put topic title in capitals and post the same question into multiple sections?
Yisc[NL]
S3 licensed
If you would be following the monthly updates, you would know that a graphics update is in the works. So no need to suggest such thing.
Yisc[NL]
S3 licensed
I don't know about any existing code, but I do know that it's possible to send data from Lapper to a website and even to send information back.
Yisc[NL]
S3 licensed
You have to add it to addonsused.lpr as well.

For those coming to this thread and wondering what script is being talked about: https://www.lfs.net/forum/post/1927566#post1927566
Yisc[NL]
S3 licensed
As far as I know, there isn't such code for Lapper.
Well, not publicly available on this forum.
So you won't find such code here.
Yisc[NL]
S3 licensed
LOL Rofl
That panel is my own code and can be downloaded from this forum.
Just download and install it and you are good to go.
Yisc[NL]
S3 licensed
Lapper doesn't have a users folder. Lapper uses a database to store information in.
Yisc[NL]
S3 licensed
Quote from BerkeTk0 :lfs insim c# player irradiation

Maybe you could explain a bit more what it is you want help with, as you haven't made any effort to do so in your initial message.
FGED GREDG RDFGDR GSFDG